home *** CD-ROM | disk | FTP | other *** search
/ ...taking it to the Macs! / ...taking it to the Macs!.iso / Extras / ActiveX Mac SDK / ActiveX SDK / Control Common / CCurrentResource.cpp < prev    next >
C/C++ Source or Header  |  1996-09-18  |  222b  |  14 lines

  1. #include "CCurrentResource.h"
  2.  
  3.  
  4. CCurrentResource::CCurrentResource(short NewResRefNum)
  5. {
  6.     InResRefNum = ::CurResFile();
  7.     ::UseResFile(NewResRefNum);
  8. }
  9.  
  10.  
  11. CCurrentResource::~CCurrentResource()
  12. {
  13.     ::UseResFile(InResRefNum);
  14. }